package com.epalmpay.service.ys.shop;

import com.epalmpay.exception.ApplicationException;
import com.epalmpay.dto.yunliu.shop.YsShopInDTO;
import com.epalmpay.dto.yunliu.shop.YsShopListOutDTO;
import com.epalmpay.dto.yunliu.shop.YsShopOutDTO;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.Shop;
import com.epalmpay.entity.YsShopCar;

public interface IYsShopService {

	YsShopListOutDTO shopList(YsShopInDTO shopInDTO, Page page) throws Exception;

	Shop findShopStatus(Long id)throws Exception;
	
	void updateStatus(Shop shop)throws Exception;

	Boolean saveshop(YsShopInDTO shopInDTO) throws ApplicationException;

	YsShopOutDTO selectShopInfo(YsShopInDTO shopInDTO) throws ApplicationException;

	Boolean editShop(YsShopInDTO shopInDTO) throws ApplicationException;

	YsShopOutDTO selectShopView(YsShopInDTO shopInDTO) throws ApplicationException;

	void saveShopType(YsShopInDTO shopInDTO)throws Exception;

	YsShopOutDTO goShopService(YsShopInDTO shopInDTO)throws Exception;

	void updateShopServiceData(YsShopInDTO shopInDTO)throws Exception;

    YsShopOutDTO queryShopServiceType(YsShopInDTO shopInDTO)throws Exception;


    YsShopOutDTO queryShopManage(YsShopInDTO shopInDTO)throws Exception;

    YsShopOutDTO queryMerchantName(YsShopInDTO shopInDTO)throws Exception;

    YsShopOutDTO queryName(YsShopInDTO shopInDTO)throws Exception;

	YsShopOutDTO queryShopRate(YsShopInDTO shopInDTO)throws Exception;

    void updateRate(YsShopCar ysShopCar)throws Exception;

	YsShopCar queryIdByShopId(YsShopInDTO shopInDTO)throws Exception;

	void insert(YsShopCar ysShopCar)throws Exception;

    YsShopOutDTO queryShopRateByshopId(YsShopInDTO shopInDTO)throws Exception;

//    void editUpdateShopRate(YsShopInDTO shopInDTO)throws Exception;

	Shop queryUserIdByShopId(Long id);
}
